x86, cpufreq: Change powernow's CPB status immediately
authorBoris Ostrovsky <boris.ostrovsky@amd.com>
Mon, 18 Jun 2012 14:08:43 +0000 (15:08 +0100)
committerBoris Ostrovsky <boris.ostrovsky@amd.com>
Mon, 18 Jun 2012 14:08:43 +0000 (15:08 +0100)
commit5f4acea2cec04e8e756ad3ab9291df098b4fb550
tree214992c0d5eff03314daa47cbbcc164f08402095
parente4a459fca595f572178e90fe3d7565b2648bce44
x86, cpufreq: Change powernow's CPB status immediately

When command to modify turbo mode (CPB on AMD processors) comes
in the actual change happens later, when P-state transition is
requested. There is no time limit on when this transition will
occur and therefore change in CPB state may take long time from
the moment when command to toggle it is issued.

This patch makes CPB mode change happen immediately when request
is made.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/acpi/cpufreq/powernow.c
xen/drivers/acpi/pmstat.c
xen/drivers/cpufreq/utility.c
xen/include/acpi/cpufreq/cpufreq.h